package com.manage.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.manage.platform.dto.query.RolePageQuery;
import com.manage.platform.entity.RoleEntity;
import com.manage.platform.vo.MenuVo;
import com.manage.platform.vo.RoleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/9/19
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleEntity> {

    List<RoleVo> getRolePage(@Param("query") RolePageQuery query);

    RoleVo getRoleDetails(@Param("id") Long id);

}
